﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 
using System;

namespace Fulcrum.UnitTests.WeakEventManager
{
    class FulcrumTestEventSource
    {
        public FulcrumTestEventSource()
        {
            // nothing
        }

        public event EventHandler TestEvent;

        public void RaiseTestEvent()
        {
            var eh = this.TestEvent;

            if (eh != null)
            {
                eh(this, EventArgs.Empty);
            }
        }

    }
}
